//	step_seq.c

#include <avr/pgmspace.h>

#include "step_seq.h"

seq_t STEP_1_WAVE[] PROGMEM = {
{0b11, 0b00001111}, 	   		//  0 degrees
{0b10, 0b11110000},  			// 90 degrees
{0b00, 0b00001111}, 			//180 degrees
{0b01, 0b11110000}  			//270 degrees
};

seq_t STEP_1[] PROGMEM = {
{0b11, 0b11111111}, 	   		//  0 degrees
{0b10, 0b11111111},  			// 90 degrees
{0b00, 0b11111111}, 			//180 degrees
{0b01, 0b11111111}  			//270 degrees
};

seq_t STEP_2[] PROGMEM = {
{0b11, 0b00001111}, 	   		//  0 degrees
{0b11, 0b10111011},  			// 45 degrees
{0b10, 0b10111011},  			//135 degrees
{0b10, 0b11110000}, 			// 90 degrees
{0b00, 0b00001111}, 	   		//180 degrees
{0b00, 0b10111011},  			//225 degrees
{0b01, 0b11110000}, 			//270 degrees
{0b01, 0b10111011}  			//315 degrees
};

seq_t STEP_4[] PROGMEM = {
{0b11, 0b00001111}, 	   		// 00.0 degrees
{0b11, 0b01101110}, 	   		// 22.5 degrees
{0b11, 0b10111011},  			// 45.0 degrees
{0b11, 0b11100110},  			// 67.5 degrees
{0b10, 0b11110000}, 			// 90.0 degrees
{0b10, 0b11100110}, 			//112.5 degrees
{0b10, 0b10111011},  			//135.0 degrees
{0b10, 0b01101110},  			//157.5 degrees
{0b00, 0b00001111}, 	   		//180.0 degrees
{0b00, 0b01101110}, 	   		//202.5 degrees
{0b00, 0b10111011},  			//225.0 degrees
{0b00, 0b11100110},  			//247.5 degrees
{0b01, 0b11110000}, 			//270.0 degrees
{0b01, 0b11100110}, 			//292.5 degrees
{0b01, 0b10111011},  			//315.0 degrees
{0b01, 0b01101110}  			//337.5 degrees
};

seq_t STEP_8[] PROGMEM = {
{ 0b11, 0b00001111}, 			//  0.00 degrees
{ 0b11, 0b00111111},			//  11.25 degrees
{ 0b11, 0b01101110},			//  22.50 degrees
{ 0b11, 0b10001100},			//  33.75 degrees
{ 0b11, 0b10111011},			//  45.00 degrees
{ 0b11, 0b11001000},			//  56.25 degrees
{ 0b11, 0b11100110},			//  67.50 degrees
{ 0b11, 0b11110011},			//  78.75 degrees
{ 0b10, 0b11110000},			//  90.00 degrees
{ 0b10, 0b11110011},			// 101.25 degrees
{ 0b10, 0b11100110},			// 112.50 degrees
{ 0b10, 0b11001000},			// 123.75 degrees
{ 0b10, 0b10111011},			// 135.00 degrees
{ 0b10, 0b10001100},			// 146.25 degrees
{ 0b10, 0b01101110},			// 157.50 degrees
{ 0b10, 0b00111111},			// 168.75 degrees
{ 0b00, 0b00001111},			// 180.00 degrees
{ 0b00, 0b00111111},			// 191.25 degrees
{ 0b00, 0b01101110},			// 202.50 degrees
{ 0b00, 0b10001100},			// 213.75 degrees
{ 0b00, 0b10111011},			// 225.00 degrees
{ 0b00, 0b11001000},			// 236.25 degrees
{ 0b00, 0b11100110},			// 247.50 degrees
{ 0b00, 0b11110011},			// 258.75 degrees
{ 0b01, 0b11110000},			// 270.00 degrees
{ 0b01, 0b11110011},			// 281.25 degrees
{ 0b01, 0b11100110},			// 292.50 degrees
{ 0b01, 0b11001000},			// 303.75 degrees
{ 0b01, 0b10111011},			// 315.00 degrees
{ 0b01, 0b10001100},			// 326.25 degrees
{ 0b01, 0b01101110},			// 337.50 degrees
{ 0b01, 0b00111111}				// 348.75 degrees
};	

seq_t STEP_16[] PROGMEM = {
{ 0b11, 0b00001111}, 			//  0.000 degrees
{ 0b11, 0b00011111}, 			//   5.625 degrees
{ 0b11, 0b00111111}, 			//  11.250 degrees
{ 0b11, 0b01001110}, 			//  16.875 degrees
{ 0b11, 0b01101110}, 			//  22.500 degrees
{ 0b11, 0b01111101}, 			//  28.125 degrees
{ 0b11, 0b10001100}, 			//  33.750 degrees
{ 0b11, 0b10101100}, 			//  39.375 degrees
{ 0b11, 0b10111011}, 			//  45.000 degrees
{ 0b11, 0b11001010}, 			//  50.625 degrees
{ 0b11, 0b11001000}, 			//  56.250 degrees
{ 0b11, 0b11010111}, 			//  61.875 degrees
{ 0b11, 0b11100110}, 			//  67.500 degrees
{ 0b11, 0b11100100}, 			//  73.125 degrees
{ 0b11, 0b11110011}, 			//  78.750 degrees
{ 0b11, 0b11110001}, 			//  84.375 degrees
{ 0b10, 0b11110000}, 			//  90.000 degrees
{ 0b10, 0b11110001}, 			//  95.625 degrees
{ 0b10, 0b11110011}, 			// 101.250 degrees
{ 0b10, 0b11100100}, 			// 106.875 degrees
{ 0b10, 0b11100110}, 			// 112.500 degrees
{ 0b10, 0b11010111}, 			// 118.125 degrees
{ 0b10, 0b11001000}, 			// 123.750 degrees
{ 0b10, 0b11001010}, 			// 129.375 degrees
{ 0b10, 0b10111011}, 			// 135.000 degrees
{ 0b10, 0b10101100}, 			// 140.625 degrees
{ 0b10, 0b10001100}, 			// 146.250 degrees
{ 0b10, 0b01111101}, 			// 151.875 degrees
{ 0b10, 0b01101110}, 			// 157.500 degrees
{ 0b10, 0b01001110}, 			// 163.125 degrees
{ 0b10, 0b00111111}, 			// 168.750 degrees
{ 0b10, 0b00011111}, 			// 174.375 degrees
{ 0b00, 0b00001111}, 			// 180.000 degrees
{ 0b00, 0b00011111}, 			// 185.625 degrees
{ 0b00, 0b00111111}, 			// 191.250 degrees
{ 0b00, 0b01001110}, 			// 196.875 degrees
{ 0b00, 0b01101110}, 			// 202.500 degrees
{ 0b00, 0b01111101}, 			// 208.125 degrees
{ 0b00, 0b10001100}, 			// 213.750 degrees
{ 0b00, 0b10101100},			// 219.375 degrees
{ 0b00, 0b10111011}, 			// 225.000 degrees
{ 0b00, 0b11001010}, 			// 230.625 degrees
{ 0b00, 0b11001000}, 			// 236.250 degrees
{ 0b00, 0b11010111}, 			// 241.875 degrees
{ 0b00, 0b11100110}, 			// 247.500 degrees
{ 0b00, 0b11100100}, 			// 253.125 degrees
{ 0b00, 0b11110011}, 			// 258.750 degrees
{ 0b00, 0b11110001}, 			// 264.375 degrees
{ 0b01, 0b11110000}, 			// 270.000 degrees
{ 0b01, 0b11110001}, 			// 275.625 degrees
{ 0b01, 0b11110011}, 			// 281.250 degrees
{ 0b01, 0b11100100}, 			// 286.875 degrees
{ 0b01, 0b11100110}, 			// 292.500 degrees
{ 0b01, 0b11010111}, 			// 298.125 degrees
{ 0b01, 0b11001000}, 			// 303.750 degrees
{ 0b01, 0b11001010}, 			// 309.375 degrees
{ 0b01, 0b10111011}, 			// 315.000 degrees
{ 0b01, 0b10101100}, 			// 320.625 degrees
{ 0b01, 0b10001100}, 			// 326.250 degrees
{ 0b01, 0b01111101}, 			// 331.875 degrees
{ 0b01, 0b01101110}, 			// 337.500 degrees
{ 0b01, 0b01001110}, 			// 343.125 degrees
{ 0b01, 0b00111111}, 			// 348.750 degrees
{ 0b01, 0b00011111} 			// 354.375 degrees
};	

